﻿using System.IO;
using System.Windows;


namespace ThePresenter.IO
{
	/// <summary>
	/// Provides a mechanism for writing presentations to the stream.
	/// </summary>
	public interface IWriter : IFormat
	{
		/// <summary>
		/// Writes the specified presentation to the stream.
		/// </summary>
		/// <param name="config">The configuration object.</param>
		/// <param name="presentation">The presentation.</param>
		/// <param name="stream">The stream.</param>
		/// <exception cref="ThePresenter.WriteException"/>
		void Write(DependencyObject config, Presentation presentation, Stream stream);
	}	
}
